<%--
  Created by IntelliJ IDEA.
  User: he
  Date: 2015/9/5
  Time: 22:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title></title>
</head>
<body>
<jsp:include page="../inc/header.jsp"/>
<div>
    <form action="/address/update" method="post">
        <input type="hidden" name="userId" value="${loginUser.id}"/>
        <input type="hidden" name="id" value="${address.id}"/>
        <p>地址: <input type="text" name="info" value="${address.info}"/> </p>
        <p>邮编: <input type="text" name="zip" value="${address.zip}"/> </p>
        <p>电话: <input type="text" name="phone" value="${address.phone}"/> </p>
        <p><button>更新</button></p>
    </form>
    <p>${result}</p>
</div>
</body>
</html>
